import request from '@/utils/request'
/**
 * 获取菜单列表
 */
export function getAuthMenu() {
  return request({
    url: 'api/manage/sysMenuInfo/getMenuList',
    method: 'post'
  })
}

/**
 * 添加
 * @param {*}
 */
export function getsave(data) {
  return request({
    url: 'api/manage/sysMenuInfo/save',
    method: 'post',
    data
  })
}
/**
 * 修改
 * @param {*}
 */
export function getupdate(data) {
  return request({
    url: 'api/manage/sysMenuInfo/save',
    method: 'post',
    data
  })
}
/**
 * 删除
 * @param {*}
 */
export function getdelByIdentify(data) {
  return request({
    url: 'api/manage/sysMenuInfo/delByIdentify',
    method: 'post',
    data
  })
}
